package com.hnust.entity.dto;

import com.hnust.entity.Device;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 创建人：zhangRuWang
 * 创建时间：2022/5/5
 * 描述：
 */
//主要用于在子类比较时也比较父类的值
@EqualsAndHashCode(callSuper = true)
@Data
public class DeviceDto extends Device {
    private String name;
    private String stateName;
    private String switchesName;
    private PositionDto positionDto;
}
